package edu.hrbeu.controller;

import edu.hrbeu.service.LucyServiceDemo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author wzq
 * @create 2022-01-07-13:50
 */
@RestController
public class FeignController {
    @Autowired
    LucyServiceDemo lucyServiceDemo;

    @RequestMapping({"/", "/index"})
    public String index() {
        String ret = "Feign," + lucyServiceDemo.index();
        return ret;
    }
}
